/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jaotwinker;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
/**
 *
 * @author Grayson
 */
public class Requirement {
    public String name;
    public String operator;
    public String value;
    public String childop;
    
    public Element getXML(Document dom) {
        Element e = dom.createElement("Requirement");
        e.setAttribute("Name", name);
        e.setAttribute("Operator", operator);
        e.setAttribute("Value", value);
        e.setAttribute("ChildOp", childop);
        return e;
    }
}

/*
None=0,
And=1,
EqualTo=2,
GreaterThan=4,
LessThan=64,
NotEqualTo=128,
 */